<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>陶瓷文化展示</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #8B4513;
            --secondary-color: #D2B48C;
            --accent-color: #A0522D;
            --light-color: #F5F5DC;
            --dark-color: #3E2723;
        }

        body {
            font-family: "Noto Serif SC", serif;
            background-color: var(--light-color);
            color: var(--dark-color);
        }

        .navbar {
            background-color: var(--primary-color);
        }

        .hero-section {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1547981609-4b6bf67b7d12') center/cover no-repeat;
            color: white;
            padding: 120px 0;
            text-align: center;
        }

        .section-title {
            position: relative;
            margin-bottom: 40px;
            padding-bottom: 15px;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .ceramic-card {
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            overflow: hidden;
            margin-bottom: 30px;
            background-color: white;
        }

        .ceramic-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .ceramic-card img {
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .ceramic-card:hover img {
            transform: scale(1.05);
        }

        .card-body {
            background-color: white;
        }

        .history-section {
            background-color: white;
            padding: 80px 0;
        }

        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--secondary-color);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            background-color: white;
            border: 4px solid var(--accent-color);
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }

        .left {
            left: 0;
        }

        .right {
            left: 50%;
        }

        .left::after {
            right: -12px;
        }

        .right::after {
            left: -12px;
        }

        .timeline-content {
            padding: 20px 30px;
            background-color: white;
            position: relative;
            border-radius: 6px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 40px 0;
        }

        @media screen and (max-width: 768px) {
            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }

            .timeline-item::after {
                left: 18px;
            }

            .right {
                left: 0;
            }
        }
    </style>
</head>
<body>
<!-- 导航栏 -->
<nav class="navbar navbar-expand-lg navbar-dark sticky-top">
    <div class="container">
        <a class="navbar-brand" href="#">
            <i class="fas fa-vase"></i> 陶瓷文化
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav ms-auto">
                <li class="nav-item">
                    <a class="nav-link active" href="#">首页</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#types">陶瓷种类</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#history">历史发展</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#gallery">作品展示</a>
                </li>
            </ul>
        </div>
    </div>
</nav>

<!-- 首页横幅 -->
<section class="hero-section">
    <div class="container">
        <h1 class="display-4 fw-bold">陶瓷文化展示</h1>
        <p class="lead">探索千年陶瓷艺术的魅力与传承</p>
    </div>
</section>

<!-- 陶瓷种类 -->
<section id="types" class="py-5">
    <div class="container">
        <h2 class="text-center section-title">陶瓷种类</h2>
        <div class="row">
            <div class="col-md-4">
                <div class="card ceramic-card">
                    <img src="https://ts1.tc.mm.bing.net/th/id/OIP-C.XKF9w0T1yCFfCfECK01S-QHaE8?w=265&h=211&c=8&rs=1&qlt=90&o=6&cb=12&dpr=1.5&pid=3.1&rm=2&ucfimg=1" class="card-img-top" alt="青花瓷">
                    <div class="card-body">
                        <h5 class="card-title">青花瓷</h5>
                        <p class="card-text">青花瓷又称白地青花瓷，常简称青花，是中国瓷器的主流品种之一，属釉下彩瓷。</p>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card ceramic-card">
                    <img src="https://ts1.tc.mm.bing.net/th/id/OIP-C.NSF0tnXsutlv9pBBGfyo6AHaNN?w=160&h=211&c=8&rs=1&qlt=90&o=6&cb=12&dpr=1.5&pid=3.1&rm=2&ucfimg=1" class="card-img-top" alt="景德镇瓷器">
                    <div class="card-body">
                        <h5 class="card-title">景德镇瓷器</h5>
                        <p class="card-text">景德镇瓷器造型优美、品种繁多、装饰丰富、风格独特，以"白如玉，明如镜，薄如纸，声如磬"著称。</p>
                    </div>
                </div>
            </div>
            <div class="col-md-4">
                <div class="card ceramic-card">
                    <img src="" class="card-img-top" alt="彩陶">
                    <div class="card-body">
                        <h5 class="card-title">彩陶</h5>
                        <p class="card-text">彩陶是我国新石器时期广泛流行的一种精美陶器，是仰韶文化的一项卓越成就。</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 历史发展 -->
<section id="history" class="history-section">
    <div class="container">
        <h2 class="text-center section-title">陶瓷历史发展</h2>
        <div class="timeline">
            <div class="timeline-item left">
                <div class="timeline-content">
                    <h3>新石器时代</h3>
                    <p>中国陶瓷的起源可以追溯到新石器时代，最早的陶器出现在约公元前6000年。</p>
                </div>
            </div>
            <div class="timeline-item right">
                <div class="timeline-content">
                    <h3>商周时期</h3>
                    <p>商代出现了原始瓷器，周代陶瓷工艺进一步发展，出现了印纹硬陶。</p>
                </div>
            </div>
            <div class="timeline-item left">
                <div class="timeline-content">
                    <h3>汉唐时期</h3>
                    <p>汉代陶瓷技术显著进步，唐代形成了"南青北白"的瓷器生产格局。</p>
                </div>
            </div>
            <div class="timeline-item right">
                <div class="timeline-content">
                    <h3>宋元时期</h3>
                    <p>宋代是中国陶瓷发展的鼎盛时期，五大名窑（汝、官、哥、钧、定）闻名于世。</p>
                </div>
            </div>
            <div class="timeline-item left">
                <div class="timeline-content">
                    <h3>明清时期</h3>
                    <p>明清时期景德镇成为全国制瓷中心，青花瓷、彩瓷等工艺达到顶峰。</p>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 陶瓷展示区域 -->
<section id="gallery" class="py-5">
    <div class="container">
        <h2 class="text-center section-title">陶瓷作品</h2>
        <div class="row">
            <div th:each="ceramic : ${ceramics}" class="col-md-4 mb-4">
                <div class="card ceramic-card">
                    <img th:src="${ceramic.imageUrl}" class="card-img-top" alt="陶瓷图片">
                    <div class="card-body">
                        <h5 class="card-title" th:text="${ceramic.name}"></h5>
                        <p class="card-text" th:text="${ceramic.description}"></p>
                        <p class="card-text"><small class="text-muted" th:text="${ceramic.history}"></small></p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 页脚 -->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-4">
                <h5>关于我们</h5>
                <p>致力于传播和弘扬中国陶瓷文化，展示陶瓷艺术的独特魅力。</p>
            </div>
            <div class="col-md-4">
                <h5>快速链接</h5>
                <ul class="list-unstyled">
                    <li><a href="#" class="text-white">首页</a></li>
                    <li><a href="#types" class="text-white">陶瓷种类</a></li>
                    <li><a href="#history" class="text-white">历史发展</a></li>
                    <li><a href="#gallery" class="text-white">作品展示</a></li>
                </ul>
            </div>
            <div class="col-md-4">
                <h5>联系我们</h5>
                <p><i class="fas fa-map-marker-alt"></i> 中国景德镇陶瓷文化区</p>
                <p><i class="fas fa-phone"></i> 123-456-7890</p>
                <p><i class="fas fa-envelope"></i> info@ceramic-culture.com</p>
            </div>
        </div>
        <hr class="my-4">
        <div class="text-center">
            <p>&copy; 2023 陶瓷文化展示网站 版权所有</p>
        </div>
    </div>
</footer>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
